package com.example.demo.java8.defalutmethod;

/*
 *  @ author  zengqingfa
 *  @ created in    2020/2/22  21:34
 *
 */

/*
 *  @Author    zengqingfa
 *  @Created in    2020/2/20  21:05
 *  @Description
 */
public class InterfaceDemoImpl implements InterfaceDemo {

    public static void main(String[] args) {
        InterfaceDemo interfaceDemo = new InterfaceDemoImpl();
        //静态方法 类直接调用
        InterfaceDemo.method1();//static method.......
        //默认方法
        interfaceDemo.method2();//default method........
        //默认方法 修饰符public
        interfaceDemo.method3();//default method........

    }
}
